//
//  CZTextView.swift
//  sinaSwifWeiBo
//
//  Created by 张雪雪 on 16/3/10.
//  Copyright © 2016年 张雪雪. All rights reserved.
//

import UIKit

class CZTextView: UITextView {

//注意类型-- NSString
    var holderString:NSString?
    
    override func drawRect(rect: CGRect) {
        //注意textView 必须有 font 
        
        holderString?.drawAtPoint(CGPointMake(2, 8), withAttributes: [NSFontAttributeName: font!])
    }
    
}
